export default {
    data: {
        title: "", //多个注意加逗号
        username: ""
    },
    onInit() {
        //        this.title = this.$t('strings.world');
        this.title = "深圳大学"
        setInterval(() => {
            console.log("title=" + this.title);
        }, 1000)
        //箭头函数
        //        let that = this;
        //        setInterval(function(){
        //            console.log('title='+that.title);
        //        },1000)

    }, //加逗号

}
